SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{68ce3454f161d788a54702cbe16d2245d5cd7e378a8fc4bca3c8a80cf76fe207}Lichtentanne{68ce3454f161d788a54702cbe16d2245d5cd7e378a8fc4bca3c8a80cf76fe207}' OR prCity = 'Lichtentanne' OR prZip = 'Lichtentanne' OR prStreet LIKE '{68ce3454f161d788a54702cbe16d2245d5cd7e378a8fc4bca3c8a80cf76fe207}Lichtentanne{68ce3454f161d788a54702cbe16d2245d5cd7e378a8fc4bca3c8a80cf76fe207}' OR prCountry = 'Lichtentanne') AND (prLocation LIKE '{68ce3454f161d788a54702cbe16d2245d5cd7e378a8fc4bca3c8a80cf76fe207}Germany{68ce3454f161d788a54702cbe16d2245d5cd7e378a8fc4bca3c8a80cf76fe207}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{68ce3454f161d788a54702cbe16d2245d5cd7e378a8fc4bca3c8a80cf76fe207}Germany{68ce3454f161d788a54702cbe16d2245d5cd7e378a8fc4bca3c8a80cf76fe207}' OR prCountry = 'Germany')